package com.example.demo.utils;

public class ResultCode {

    /**
     * 返回成功
     */
    private static final boolean RESULT_SUCCESS = true;

    /**
     * 返回失败
     */
    private static final boolean RESULT_FALSE = false;

    /**
     * 返回错误
     */
    private static final String RESULT_ERROR = "error";

    public static boolean gertResultSuccess() {
        return RESULT_SUCCESS;
    }

    public static boolean getResultFalse() {
        return RESULT_FALSE;
    }

    public static String getResultError(){
        return RESULT_ERROR;
    }
}
